package cn.ejiakanghu.logistics.third.shunfeng;

import java.util.List;

/**
 * 顺丰接口返回的数据
 * @author houzb
 * @Description
 * @create 2021-12-03 9:27
 */
public class ShunfengResponseData<T> {
    /**
     * 消息码值
     */
    private String code;
    /**
     * 结果说明
     */
    private String message;
    /**
     * 是否成功 true成功，false失败
     */
    private boolean success;
    /**
     * 返回的数据内容
     */
    private List<T> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
